<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>  
    <meta charset="utf-8">
    <title>招领管理</title>


    <div class="container-fluid">

      <!-- Side menu -->  
      
      <!-- /Side menu -->

      <!-- Main window -->
      <div class="main_container" id="users_page">

        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>diuba-Find</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">

                <thead>
                 <tr>
                 <th>图片</th>
                 <th>物品</th>
                 <th>发布人</th>
                 <th>联系人</th>
                 <th>拾到地点</th>
                 <th>联系电话</th>
                 <th>捡拾时间</th>
                 <th>发布时间</th>
                 <th>操作</th>
                 </tr>
                </thead>

<tbody>
<?php if(is_array($find)): $i = 0; $__LIST__ = $find;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
<td align="center"><img src="/LOL/Public/Uploads/findphoto/<?php echo ($vo["picture"]); ?>" width=85 alt="无头像"></td>
<td><?php echo ($vo["goods_name"]); ?></td>
<td><?php echo ($vo["username"]); ?></td>
<td><?php echo ($vo["fname"]); ?></td>
<td><?php echo ($vo["place"]); ?></td>
<td><?php echo ($vo["telephone"]); ?></td>
<td><?php echo (substr($vo["finddate"],0,10)); ?></td>
<td><?php echo (substr($vo["createtime"],0,10)); ?></td>
<td>

<div class="btn-group">
<a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
Action
<span class="caret"></span>
</a>
<ul class="dropdown-menu pull-right">
<li>
<a href="#">
<i class="icon-legal"></i>
<a href="delfind/id/<?php echo ($vo["id"]); ?>"><i class="icon-trash"></i>删除</a>
<a href="detail/id/<?php echo ($vo["id"]); ?>"><i class="icon-bullhorn"></i>查看详细</a>
</ul>
</div>
</td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>

</table>
</div> <!-- /widget-body -->
</div> <!-- /widget -->
</div> <!-- /row-fluid -->

</div>
<!-- /Main window -->

    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div class="footer col-md-10" >
    <p>LOL代练 2016版本</p>
    <div class="clearfix"> </div>
</div>
  </body>
</html>